package wsepForum.test.acceptance.story;
/**
 * A story that checks the creating section on the system
 * @author Oren Ben-Haim
 *
 */
public class CreateSectionStory extends StoryBase {

	/*****************************
	 * CONSTRUCTOR               *
	 *****************************/
	public CreateSectionStory() {
		super("Create section story");
	}

	/**
	 * A test that checks some login attempts
	 */
	public void testStoryCreateSection() {
		assertTrue("was expected get a positive answer for this attempt", bridge.actionTryToCreateSection("Bla", true));
		assertTrue("was expected get a positive answer for this attempt", bridge.actionTryToCreateSection("Bla", true));
		assertFalse("was expected get a negative answer for this attempt", bridge.actionTryToCreateSection("Bli", false));
		assertFalse("was expected get a negative answer for this attempt", bridge.actionTryToCreateSection("", true));
		assertFalse("was expected get a negative answer for this attempt",  bridge.actionTryToCreateSection("", false));
	}

}
